package com.aqa.concurrent;

import org.junit.Test;

public class BitPrint {

    @Test
    public void printBit() {
        int mask = 16;
        System.out.println(1 << 16);
        System.out.println(Integer.toBinaryString(1 << 16));
        System.out.println(((1 << 16) - 1));
        System.out.println(Integer.toBinaryString((1 << 16) - 1));
    }


}
